﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Server.BasicsDatumServer.CarrierManagementService.Dto;
using SmartWMS.Server.BasicsDatumServer.WarehouseManagementService.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BasicsDatumServer.CarrierManagementService
{
	/// <summary>
	/// 承运商管理接口
	/// </summary>
	public interface ICarrierManagementService : ITransientServer
	{
		Task<(int pageCount, int totalCount, Response<List<CarrierDto>> data)> GetCarrierManagementDtoAsync(SearchCarrierDto dto);

		Task<Response<bool>> AddCarrierManagement(CarrierDto info);

		Task<Response<bool>> DelCarrierManagement(CarrierDto info);

		Response<CarrierDto> FilCarrierManagement(int id);

		Task<Response<bool>> UpdCarrierManagement(CarrierDto info);

		Task<Response<bool>> BatchCarrierManagement(CarrierDto dto);
	}
}
